package com.wanmait.wisdom.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

/**
* Created by Mybatis Generator 2024/05/01
*/
@Data
@Accessors(chain = true)
public class Rapair implements Serializable {
    /**
	* 主键
	*/
    @TableId
    private Integer id;

    /**
	* 居民id
	*/
    private Integer residentId;

    /**
	* 保修地址
	*/
    private String rapairLocation;

    /**
	* 问题描述
	*/
    private String rapairContent;

    /**
	* 处理状态
	*/
    private Boolean processingStatus;

    /**
	* 报修时间
	*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date time;

    /**
	* 维修时间
	*/
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date upkeepTime;

    /**
	* 维修人id
	*/
    private String staffId;

    /**
	* 完成时间
	*/
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date completeTime;

    /**
	* 是否显示
	*/
    private Boolean enable;

    @TableField(exist = false)
    private Staff staff;

    @TableField(exist = false)
    private Resident resident;

    private static final long serialVersionUID = 1L;
}
